package bavaria.hightec.comparators;

import java.util.Comparator;

import bavaria.hightec.banking.Accounting;

public class CompAmount implements Comparator<Accounting> {



	@Override
	public int compare(Accounting arg0, Accounting arg1) {
		return arg0.getAmount().compareTo(arg1.getAmount());
	}

}
